package com.vo;

public class MinfoInfo {
	private int infoid;
	private int pageOffset = 0;
	private int pageLength = 10;
	private int pageCount = 0;
	private int count = 0;

	public int getPageOffset() {
		if (pageOffset < 0) {
			pageOffset = 0;
		}
		if(pageOffset > pageCount){
			pageOffset = pageCount;
		}
		return pageOffset;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public void setPageOffset(int pageOffset) {
		this.pageOffset = pageOffset;
	}

	public int getPageLength() {
		return pageLength;
	}

	public void setPageLength(int pageLength) {
		this.pageLength = pageLength;
	}

	public int getInfoid() {
		return infoid;
	}

	public void setInfoid(int infoid) {
		this.infoid = infoid;
	}
}
